/**
 * 
 */
package com.xbang.attendance.helper.order;

import java.math.BigDecimal;

import com.xbang.attendance.entity.product.Product;
import com.xbang.attendance.entity.system.MaintenanceStation;
import com.xbang.attendance.entity.system.Region;
import com.xbang.attendance.entity.system.Warehouse;

/**
 * @author dev.zhang
 * 
 */
public class DeliveryOrderReport {

	private Warehouse warehouse;

	private MaintenanceStation maintenanceStation;

	private Region region;

	private Product product;

	private BigDecimal amount;

	private boolean total;

	private boolean subtotal;

	private boolean normal;

	public DeliveryOrderReport copyPerperties(Warehouse warehouse, Region region, MaintenanceStation maintenanceStation, Product product, BigDecimal amount,
			boolean total, boolean subtotal, boolean normal) {
		this.warehouse = warehouse;
		this.maintenanceStation = maintenanceStation;
		this.amount = amount;
		this.total = total;
		this.subtotal = subtotal;
		this.normal = normal;
		this.region = region;
		this.product = product;
		return this;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public MaintenanceStation getMaintenanceStation() {
		return maintenanceStation;
	}

	public void setMaintenanceStation(MaintenanceStation maintenanceStation) {
		this.maintenanceStation = maintenanceStation;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public boolean isTotal() {
		return total;
	}

	public void setTotal(boolean total) {
		this.total = total;
	}

	public boolean isSubtotal() {
		return subtotal;
	}

	public void setSubtotal(boolean subtotal) {
		this.subtotal = subtotal;
	}

	public boolean isNormal() {
		return normal;
	}

	public void setNormal(boolean normal) {
		this.normal = normal;
	}

	public Region getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

}
